package com.huang.factory;

/**
 * <p></p>
 *
 * @author aneng huang
 * @since 2020-10-27 10:53:02
 */
public class OperatorSub implements OperatorTwo {

    @Override
    public double getResult(Calculator calculator) {
        return calculator.getNumberOne() - calculator.getNumberTwo();
    }
}
